home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QRZ! Ham Radio 4
/
QRZ Ham Radio Callsign Database - Volume 4.iso
/
files
/
packet
/
terminal
/
ad16dis.exe
/
ZAPDB.BAT
< prev
Wrap
DOS Batch File
|
1988-11-06
|
702b
|
24 lines
rem This batch file will copy all database files to files with filename
rem specified in the first argument, and then erase the standard database
rem files. The argument MUST be specified as filename without extension.
rem
if "%1" == "" goto where?
copy aresdata.dat %1.dat
copy f1index.ndx %1.in1
copy f2index.ndx %1.in2
copy f3index.ndx %1.in3
copy f4index.ndx %1.in4
copy aresdata.jrn %1.jrn
erase *.bak
erase aresdata.dat
erase f1index.ndx
erase f2index.ndx
erase f3index.ndx
erase f4index.ndx
erase aresdata.jrn
rem ARES/Data database and index files have now been saved and reset.
goto endit
:where?
rem You must enter a filename (no extension) for the argument!!!
:endit